from django.urls import path

from .views import ListPackageView, CreatePackageView, RetrievePackageView, UpdatePackageView, \
    DeletePackageView

urlpatterns = [
    path('', ListPackageView.as_view(), name='list_packages'),
    path('create/', CreatePackageView.as_view(), name='create_package'),
    path('info/<str:package_id>/', RetrievePackageView.as_view(), name='retrieve_package'),
    path('update/<str:package_id>/', UpdatePackageView.as_view(), name='update_package'),
    path('delete/', DeletePackageView.as_view(), name='delete_package'),
]
